#include <iostream>
using namespace std;

int main() {
    int* p[10];
    for (int i = 0; i < 10; i++) {
        p[i] = new(nothrow) int[0x1FFFFFFF];;
        if (!p[i]) {
            cout << "内存不够，退出\n";
            exit(1);
        }
    }
}